package com.fanyue.modules.wzb.service;


import cn.hutool.json.JSONObject;
import com.fanyue.core.base.BaseService;
import com.fanyue.core.request.R;
import com.fanyue.modules.wzb.entity.AppUserEntity;
import com.fanyue.modules.wzb.entity.AppUserFaceRecordEntity;
import com.fanyue.modules.wzb.entity.ClothingInfoEntity;
import com.fanyue.modules.wzb.vo.AppUserFaceRecordVO;

import java.util.List;

/**
 * 系统用户
 */
public interface AppUserFaceRecordService extends BaseService<AppUserFaceRecordEntity> {

    List<AppUserFaceRecordVO> detailList(JSONObject requestParams);

    List<AppUserFaceRecordEntity> listByInfo(AppUserFaceRecordEntity selectRecord);

    void cancel(List<AppUserFaceRecordEntity> recordEntityList);

    AppUserFaceRecordVO detail(Long id);

    void scheduledTask();

    void submit(String clothingIds, Long id);

    void distribution(AppUserEntity appUser, AppUserFaceRecordEntity record);

    ClothingInfoEntity distributionByRevert(ClothingInfoEntity info);

    R upBatch(JSONObject requestParams);

    R downBatch(JSONObject requestParams);

    R lendBatch(JSONObject requestParams);

    R revertBatch(JSONObject requestParams);

}
